<#include "/layout/layout.ftl">
<#import "/layout/macro.ftl" as macro>
<#import "/layout/select.ftl" as my/>
<#assign css>
<#--此ftl中用到的css-->
    <style>
        .col-sm-9{
            padding-top:7px;
        }
    </style>
</#assign>
<#assign js>
<#--此ftl中用到的js-->
<script>
</script>
</#assign>
<@layout title="详情" active="user">
<!-- Content Header (Page header) -->
<section class="content-header">
	<h1>
		<small>用户详细信息</small>
	</h1>
	<ol class="breadcrumb">
		<li><a href="/"><i class="fa fa-home"></i> 分站管理后台</a></li>
		<li><a href="/user/index"><i class="fa fa-list-ul"></i> 用户管理</a></li>
		<li class="active"><i class="fa fa-edit"></i>详细信息</li>
	</ol>
</section>
<!-- Main content -->
<section class="content">
	<div class="row">
		<div class="col-md-12">
			<!-- Default box -->
			<div class="box  box-primary">
				<form class="form-horizontal form-edit" method="post" action="">
					<div class="box-body">
						<input type="hidden" id="id" name="id" value="${user.id!}">
						<div class="form-group"><label class="col-sm-3 control-label">主键：</label><div class="col-sm-9">${user.id!}</div></div>
						<div class="form-group"><label class="col-sm-3 control-label">头像：</label>
                            <div class="col-sm-9">
                                <img style="height: 150px;width: 150px" src="${user.avatarUrl!}">
                            </div>
                        </div>
                        <div class="form-group"><label class="col-sm-3 control-label">手机号：</label><div class="col-sm-9">${user.phone!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">注册时间：</label><div class="col-sm-9">${(user.registerDate?string('yyyy-MM-dd HH:mm:ss'))!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">是否启用：</label><div class="col-sm-9">${convert('IS_NOT', user.enabled)!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">昵称：</label><div class="col-sm-9">${user.nickname!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">性别：</label><div class="col-sm-9">${convert('IS_NOT', user.gender)!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">国家/地区：</label><div class="col-sm-9">${user.country!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">省份：</label><div class="col-sm-9">${user.province!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">城市：</label><div class="col-sm-9">${user.city!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">用户代收款账户余额：</label><div class="col-sm-9">${user.countrycollectBal!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">用户积分：</label><div class="col-sm-9">${user.points!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">用户VIP级别：</label><div class="col-sm-9">${user.points!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">个人签名：</label><div class="col-sm-9">${user.signature!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">账户余额：</label><div class="col-sm-9">${user.accountBalance!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">是否同意协议：</label><div class="col-sm-9">${convert('IS_NOT', user.isProtocol)!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">是否已实名：</label><div class="col-sm-9">${convert('IS_NOT', user.isCertifacate)!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">是否同意骑手协议：</label><div class="col-sm-9">${convert('IS_NOT', user.isRider)!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">是否已认证为师傅：</label><div class="col-sm-9">${convert('IS_NOT', user.isMaster)!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">师傅账号状态：</label><div class="col-sm-9">${convert('IS_NOT', user.masterStatus)!}</div></div>
					</div>

					<div class="box-footer">
						<button type="button" class="btn btn-default btn-back">返回</button>
					</div>

				</form>
			</div>
			<!-- /.box -->
		</div>
	</div>
</section>
<!-- /.content -->
</@layout>
